package com.fastCms.business.mall.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: 支持同步充值和赠送<br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年9月19日 上午10:55:19 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@Data
public class CustGoldRecordParam {

    @ApiModelProperty(value = "组织编号")
    private String organizeCode;

    @ApiModelProperty(value = "用户ID")
    private String custId;

    @ApiModelProperty(value = "金币类型（1-有规则 2-无规则）")
    private BigDecimal limitGold = BigDecimal.ZERO;

    @ApiModelProperty(value = "最终金币值-归结到账户中的金额)")
    private BigDecimal unlimitGold = BigDecimal.ZERO;

    @ApiModelProperty(value = "实际充值值")
    private BigDecimal rechargeGold = BigDecimal.ZERO;

    @ApiModelProperty(value = "赠送金币值(充值场景使用)")
    private BigDecimal giftGold = BigDecimal.ZERO;

    @ApiModelProperty(value = "记录类型(1-获取 2-使用)")
    private Integer recordType;

    @ApiModelProperty(value = "订单号或者其它外部编号")
    private String otherNumber;

    @ApiModelProperty(value = "来源")
    private String sourceFrom;

    @ApiModelProperty(value = "来源描述")
    private String sourceDesc;

    public CustGoldRecordParam(String organizeCode, String custId, BigDecimal limitGold, BigDecimal unlimitGold, Integer recordType, String otherNumber, String sourceFrom, String sourceDesc) {
        this.organizeCode = organizeCode;
        this.custId = custId;
        this.limitGold = limitGold;
        this.unlimitGold = unlimitGold;
        this.recordType = recordType;
        this.otherNumber = otherNumber;
        this.sourceFrom = sourceFrom;
        this.sourceDesc = sourceDesc;
    }

    public CustGoldRecordParam() {

    }

}
